/*
 * Copyright (C) 2018 guomw.Inc. All rights reserved.
 * 项目名称： report-manage
 * 文件名称： ServiceConfig.java
 * Date：18-11-5 上午10:54
 * Author: guomw
 */

package com.guomw.report.service.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.ImportResource;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author guomw
 * @date 2018/9/11
 */
@Configuration
@EnableTransactionManagement
@ComponentScan(basePackages={
        "com.guomw.report.service",
        "com.guomw.report.service.aop"
})
@EnableJpaRepositories(basePackages={
        "com.guomw.report.service.repository"
})
@EnableAspectJAutoProxy
@ImportResource({"classpath:spring-jpa.xml"})
public class ServiceConfig {
}
